//---------------------------------------------------------------------------

#ifndef UST_MNOGOETH
#define UST_MNOGOETH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include "cxClasses.hpp"
#include "cxContainer.hpp"
#include "cxControls.hpp"
#include "cxCustomData.hpp"
#include "cxData.hpp"
#include "cxDataStorage.hpp"
#include "cxDBData.hpp"
#include "cxEdit.hpp"
#include "cxFilter.hpp"
#include "cxGraphics.hpp"
#include "cxGrid.hpp"
#include "cxGridCustomTableView.hpp"
#include "cxGridCustomView.hpp"
#include "cxGridDBTableView.hpp"
#include "cxGridLevel.hpp"
#include "cxGridTableView.hpp"
#include "cxGroupBox.hpp"
#include "cxLookAndFeelPainters.hpp"
#include "cxLookAndFeels.hpp"
#include "cxStyles.hpp"
#include "Fr_Adres.h"
#include <DB.hpp>
#include <ExtCtrls.hpp>
#include <DBCtrls.hpp>
#include "cxButtons.hpp"
#include <Menus.hpp>
#include "DBAccess.hpp"
#include "IBC.hpp"
#include "MemDS.hpp"
#include <ActnList.hpp>
//---------------------------------------------------------------------------
class TfrUST_MNOGOET : public TForm
{
__published:	// IDE-managed Components
	TPanel *pTable;
	TPanel *pEdit;
	TcxGroupBox *gbTable;
	TcxGroupBox *gbEdit;
	TcxGrid *sgSPR_ABON;
	TcxGridDBTableView *sgSPR_ABONDBTableView1;
	TcxGridDBColumn *sgSPR_ABONDBTableView1KOD;
	TcxGridDBColumn *sgSPR_ABONDBTableView1NAIM;
	TcxGridDBColumn *sgSPR_ABONDBTableView1Column1;
	TcxGridDBColumn *sgSPR_ABONDBTableView1Column2;
	TcxGridDBColumn *sgSPR_ABONDBTableView1Column3;
	TcxGridDBColumn *sgSPR_ABONDBTableView1Column4;
	TcxGridDBColumn *sgSPR_ABONDBTableView1Column5;
	TcxGridDBColumn *sgSPR_ABONDBTableView1Column6;
	TcxGridDBColumn *sgSPR_ABONDBTableView1Column7;
	TcxGridLevel *sgSPR_ABONLevel1;
	TFrame_Adres *Frame_Adres1;
	TGroupBox *GroupBox1;
	TLabel *Label3;
	TEdit *edDOM;
	TcxGridDBColumn *sgSPR_ABONDBTableView1Column8;
	TCheckBox *chPO_PUNKT;
	TGroupBox *gbLIC;
	TLabel *Label1;
	TEdit *edNOM;
	TLabel *Label2;
	TDBLookupComboBox *cbMNOGOET;
	TcxButton *cxButton1;
	TIBCQuery *dsetSPR_ABON;
	TIBCQuery *dsetMNOGOET;
	TIBCDataSource *dsSPR_ABON;
	TIBCDataSource *dsMNOGOET;
	TActionList *actlst1;
	TAction *actESC;
	void __fastcall FormShow(TObject *Sender);
	void __fastcall Frame_Adres1cbNAS_PUNKTClick(TObject *Sender);
	void __fastcall Frame_Adres1cbULClick(TObject *Sender);
	void __fastcall edDOMKeyDown(TObject *Sender, WORD &Key, TShiftState Shift);
	void __fastcall edNOMKeyDown(TObject *Sender, WORD &Key, TShiftState Shift);
	void __fastcall cxButton1Click(TObject *Sender);
	void __fastcall actESCExecute(TObject *Sender);
private:	// User declarations
public:		// User declarations
String SQL;
	__fastcall TfrUST_MNOGOET(TComponent* Owner);
	void __fastcall TfrUST_MNOGOET::POISK(int Stat,int NOM,int PUNKT,int VU, int UL,String DOM);

};
//---------------------------------------------------------------------------
extern PACKAGE TfrUST_MNOGOET *frUST_MNOGOET;
//---------------------------------------------------------------------------
#endif
